package cn.ecut.dzy.service.impl;

import cn.ecut.dzy.service.IAccountService;

import java.util.Date;

/**
 * @program: Spring
 * @description:
 * @author: DingZhenYun
 * @create: 2021-09-08 16:29
 **/

public class AccountServiceImpl2 implements IAccountService {

    //set
    private String name;
    private Integer age;
    private Date birthday;

    public void setName(String name) {
        this.name = name;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    /**
     * 模拟保存账户
     */
    @Override
    public void saveAccount() {
        System.out.println("service中的saveAccount方法执行了。。。"+name+","+age+","+birthday);
    }
}
